// ... existing code ...
/**
 * 用户信息
 */
export interface IUserInfoVo {
  id: number
  // username: string
  avatar: string
  token: string
}

/**
 * 登录返回的信息
 */
export interface IUserLogin {
  id: string
  username: string
  token: string
}

/**
 * 密码登录请求参数
 */
export interface IPasswordLoginRequest {
  mobile: string
  password: string
}

/**
 * 验证码登录请求参数
 */
export interface ISmsLoginRequest {
  mobile: string
  code: string
}

/**
 * 获取验证码请求参数
 */
export interface IGetCodeRequest {
  mobile: string
  type: string
}
export interface IGetCodeResponse {
  code: number;
  success: boolean;
  message: string;
  data?: {
    code: string;
  }
}
/**
 * 注册请求参数
 */
export interface IRegisterRequest {
  mobile: string
  code: string
  password: string
}

// ... existing code ...

/**
 * 获取个人用户信息响应
 */
export interface IGetUserInfoResponse {
  code: number;
  success: boolean;
  message: string;
  data: {
    id: string;
    avatar: string;
    mobile: string;
    account: string;
    likeNumber: number;
    collectionNumber: number;
    score: number;
    couponNumber: number;
    consultationInfo: Array<{
      id: string;
      name: string;
      avatar: string;
      depName: string;
      positionalTitles: string;
      hospitalName: string;
      gradeName: string;
      orderId: string;
    }>;
    orderInfo: {
      paidNumber: number;
      receivedNumber: number;
      shippedNumber: number;
      finishedNumber: number;
    };
  }
}

